package com.qiongqi.datadir.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.*;

@Configuration
public class WebConfig implements WebMvcConfigurer {

    @Override
    public void configurePathMatch(PathMatchConfigurer configurer) {
        // 启用宽松匹配模式（默认关闭）
        configurer.setUseTrailingSlashMatch(true);
    }
}
